﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Adams.Public.Mobile.Business.Web.Announcements
{
    public static class Announcement
    {
        public static Adams.Public.DataTransfer.Mobile.Announcements.Announcement.PageLoad PageLoad(Adams.Public.DataTransfer.Announcements.GetAnnouncementInput input)
        {
            var model = new Adams.Public.DataTransfer.Mobile.Announcements.Announcement.PageLoad();
            var data = Api.GetData<Adams.Public.DataTransfer.Announcements.GetAnnouncement>("Announcements/GetAnnouncement", input);
            model.Announcement = data.Announcement;
            return model;
        }
    }
}
